﻿using Common;
using DB.Mapper.Attr;
using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DB.Model.Input
{
    [MapTo(typeof(User))]
    /// <summary>
    /// 注册
    /// </summary>
    public class UserInput : IInputDto
    {
        public string Account { get; set; }
        public string Pwd { get; set; }
        public string CorpId { get; set; }
        public string AgentId { get; set; }
        public string CorpSecret { get; set; }
        public string Code { get; set; }
        public string CodeId { get; set; } 
    }
     
    /// <summary>
    /// 登录
    /// </summary>
    public class UserLoginInput 
    {
        public string Account { get; set; }
        public string Pwd { get; set; }

        public string Code { get; set; }
        public string CodeId { get; set; }
    }
}
